【笔记】EditorConfig学习笔记
前言
EditorConfig is an open specification and file format for syntax highlighting, text editors and integrated development environment (IDEs) that aims to maintain a consistent coding style, particularly aimed at groups working together.(维基百科)
创建配置文件
charset:指定文件编码集indent_style:指定缩进方式
space、tab
indent_size:指定缩进大小end_of_line:指定换行符
lf、crlf、cr
trim_trailing_whitespace:指定是否删除行尾空白字符insert_final_newline:指定是否添加文件末尾空行
1 | root = true |